package comparator比较器;

public class Test {
    public static void main(String[] args) {
        Student student1 = new Student("zhangsan",10);
        Student student2 = new Student("lisi",15);
        Age age = new Age();
        System.out.println(age.compare(student1, student2));
    }
}
